package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收据信息对象 ticket_receipt
 *
 * @author ruoyi
 * @date 2024-07-15
 */
public class TicketReceipt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收据编号 */
    @Excel(name = "收据编号")
    private String receiptNo;

    /** 收据名称 */
    @Excel(name = "收据名称")
    private String receiptName;

    /**
     * 收据对应的商户类型用于区分本联与副联
     */
    @Excel(name = "本联(business)与副联(person)")
    private String receiptBusType;

    /** 收据对应的交易 */
    @Excel(name = "收据对应的交易")
    private String receiptTransNo;

    /** 收据开具的交易名称 */
    @Excel(name = "收据开具的交易名称")
    private String receiptTransName;

    /** 收据对应的模板编号 */
    @Excel(name = "收据对应的模板编号")
    private String receiptTemplateNo;

    /** 收据对应的模板名称 */
    @Excel(name = "收据对应的模板名称")
    private String receiptTemplateName;

    /** 收据对应的印章编号 */
    @Excel(name = "收据对应的印章编号")
    private String receiptSealNo;

    /** 收据对应的印章名称 */
    @Excel(name = "收据对应的印章名称")
    private String receiptSealName;

    public void setReceiptNo(String receiptNo)
    {
        this.receiptNo = receiptNo;
    }

    public String getReceiptNo()
    {
        return receiptNo;
    }
    public void setReceiptName(String receiptName)
    {
        this.receiptName = receiptName;
    }

    public String getReceiptName()
    {
        return receiptName;
    }
    public void setReceiptTransNo(String receiptTransNo)
    {
        this.receiptTransNo = receiptTransNo;
    }

    public String getReceiptTransNo()
    {
        return receiptTransNo;
    }
    public void setReceiptTransName(String receiptTransName)
    {
        this.receiptTransName = receiptTransName;
    }

    public String getReceiptTransName()
    {
        return receiptTransName;
    }
    public void setReceiptTemplateNo(String receiptTemplateNo)
    {
        this.receiptTemplateNo = receiptTemplateNo;
    }

    public String getReceiptTemplateNo()
    {
        return receiptTemplateNo;
    }
    public void setReceiptTemplateName(String receiptTemplateName)
    {
        this.receiptTemplateName = receiptTemplateName;
    }

    public String getReceiptTemplateName()
    {
        return receiptTemplateName;
    }
    public void setReceiptSealNo(String receiptSealNo)
    {
        this.receiptSealNo = receiptSealNo;
    }

    public String getReceiptBusType() {
        return receiptBusType;
    }

    public void setReceiptBusType(String receiptBusType) {
        this.receiptBusType = receiptBusType;
    }

    public String getReceiptSealNo()
    {
        return receiptSealNo;
    }
    public void setReceiptSealName(String receiptSealName)
    {
        this.receiptSealName = receiptSealName;
    }

    public String getReceiptSealName()
    {
        return receiptSealName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("receiptNo", getReceiptNo())
                .append("receiptName", getReceiptName())
                .append("receiptBusType",getReceiptBusType())
                .append("receiptTransNo", getReceiptTransNo())
                .append("receiptTransName", getReceiptTransName())
                .append("receiptTemplateNo", getReceiptTemplateNo())
                .append("receiptTemplateName", getReceiptTemplateName())
                .append("receiptSealNo", getReceiptSealNo())
                .append("receiptSealName", getReceiptSealName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
